class ContractItem < ActiveRecord::Base
  belongs_to :contract
  
  #====== validations =========
  validates_presence_of :product_name, :unit, :quantity, :unit_price, :amount
  validates_numericality_of :amount, :quantity, :unit_price
  
end
